package CtrlLayer;
import java.util.ArrayList;
import ModelLayer.*;

/**
 * Write a description of class LeaseController here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class LeaseController
{
    private LeaseContainer leaseContainer;
    public LeaseController()
    {
       leaseContainer = LeaseContainer.getInstance();
    }
    
    

    public void createLease(int leaseId, String leaseDate, String period, boolean state)
    {
        leaseContainer.addLease(new Lease(leaseId, leaseDate, period, state));
    }
}
